package com.gzz.orchid.common.boot.mybatis.dialect;

import com.gzz.orchid.common.core.model.Pagination;
import org.apache.ibatis.mapping.BoundSql;
import org.apache.ibatis.session.RowBounds;

/**
 * 数据库方言
 *
 * @author higmd
 */
public interface IDialect {
    void afterAll();

    String rebuildSql(BoundSql boundSql);

    String rebuildSql(String sql, Pagination pager);

    String rebuildSql(String sql, int offset, int pageSize);
}
